home *** CD-ROM | disk | FTP | other *** search
/ PC-Blue - MS DOS Public Domain Library / PC-Blue MS-DOS Public Domain Library - NYACC.iso / vol197 / manual.oqt / manual.out
Encoding:
Text File  |  1986-11-25  |  92.0 KB  |  2,509 lines

  1.  
  2.                                    DBS-KAT (TM)
  3.  
  4.                             The Easy, Practical, Super
  5.                             Capacity Diskette Cataloger
  6.  
  7.  
  8.                                     USER MANUAL
  9.  
  10.  
  11.                                         by
  12.                                     R.H. Martin
  13.  
  14.  
  15.  
  16.                               Applied Foresight Inc.
  17.                                   P.O. Box 20607
  18.                              Bloomington, Minn.  55420
  19.  
  20.  
  21.                                  February 23, 1986
  22.                                     Version 1.3
  23.  
  24.  
  25.  
  26.                            Copyright 1986 by R.H. Martin
  27.                                 All Rights Reserved
  28.  
  29.  
  30.  
  31.                             A DB-SHARE Software Product
  32.  
  33.  
  34.  
  35.  
  36.  
  37.  
  38.                     A limited license is hereby granted to copy
  39.                   and distribute wholly unmodified copies of the
  40.                DBS-KAT Software Diskette which contains this manual
  41.  
  42.                      (Read the manual, "THE DB-SHARE PROGRAM"
  43.                    for full details about this limited license)
  44.  
  45.  
  46.  
  47.              (DBS-KAT was originally released under the name, PC-KAT)
  48.  
  49.  
  50.                                                              Trademark Pending
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.  
  64.  
  65.  
  66.  
  67.  
  68.      DBS-KAT USER MANUAL         Copyright 1986 R.H. Martin         P. 2
  69.  
  70.  
  71.  
  72.                                  TABLE OF CONTENTS
  73.                                  -----------------
  74.  
  75.      Table of Contents . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
  76.      About This Manual . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
  77.         General
  78.         Trademarks
  79.      Introduction. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
  80.         Overview
  81.         Philsophy Of DBS-KAT
  82.         Using DBS-KAT With The IBM AT
  83.         DBS-KAT Base System Features
  84.      Hardware Requirements . . . . . . . . . . . . . . . . . . . . . . . . . 7
  85.         Minimum Requirements
  86.         Recommended Options
  87.         Commentary
  88.      Installation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
  89.         Overview
  90.         Installation Instructions
  91.         Installation For Non-IBM Compatible MS-DOS PC
  92.         Additional Install Information For Hard Disk Users
  93.            Who Power On Their Computer With A Startup Diskette
  94.      Updating The DBS-KAT System Control Record. . . . . . . . . . . . . . .13
  95.      Cataloging Diskettes. . . . . . . . . . . . . . . . . . . . . . . . . .21
  96.      Inquiring Against The DBS-KAT Catalog . . . . . . . . . . . . . . . . .26
  97.      Taking Care of Your Database. . . . . . . . . . . . . . . . . . . . . .30
  98.         Overview
  99.         Conservative Updating
  100.         Backup
  101.         The Log File
  102.         Integrity Analysis
  103.         Trouble Shooting Tips
  104.      Online Assistance . . . . . . . . . . . . . . . . . . . . . . . . . . .35
  105.      Appendix A: The KPRINT Print Program. . . . . . . . . . . . . . . . . .36
  106.      Appendix B: Provided DBS-KAT Files. . . . . . . . . . . . . . . . . . .37
  107.      Appendix C: Minimum Computer Files Needed To Operate DBS-KAT. . . . . .38
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.  
  130.  
  131.  
  132.  
  133.  
  134.      DBS-KAT USER MANUAL         Copyright 1986 R.H. Martin         P. 3
  135.  
  136.  
  137.                                  ABOUT THIS MANUAL
  138.                                  -----------------
  139.  
  140.                                       GENERAL
  141.  
  142.      A section is designated by a centered and underlined heading.  Centered
  143.      but NOT underlined headings are referred to as a subsection.
  144.  
  145.      Absolutely, do not use DBS-KAT prior to thoroughly following the
  146.      installation instructions, including restarting your computer after
  147.      following the installation instructions.
  148.  
  149.      This manual explains what you minimally need to read in order to use the
  150.      software.  After you are comfortable with the program, or if you have
  151.      additional questions, you can print out and read the TECHNICAL REFERENCE
  152.      MANUAL.
  153.  
  154.      Please read each section of this manual before using DBS-KAT.  It won't
  155.      take you long.
  156.  
  157.  
  158.                                     TRADEMARKS:
  159.  
  160.      "COMPAQ and COMPAQ PLUS" are trademarks of COMPAQ Corporation.
  161.      "MS-DOS" is a trademark of Microsoft Corporation.
  162.      "PC-DOS and IBM" are trademarks of International Business Machines Corp.
  163.      "PC-WRITE and Quicksoft" are trademarks of Quicksoft.
  164.      "DB-VISTA" is a trademark of RAIMA Corporation.
  165.      "Lattice" is a trademark of Lattice Inc.
  166.  
  167.  
  168.  
  169.  
  170.  
  171.  
  172.  
  173.  
  174.  
  175.  
  176.  
  177.  
  178.  
  179.  
  180.  
  181.  
  182.  
  183.  
  184.  
  185.  
  186.  
  187.  
  188.  
  189.  
  190.  
  191.  
  192.  
  193.  
  194.  
  195.  
  196.  
  197.  
  198.  
  199.  
  200.      DBS-KAT USER MANUAL         Copyright 1986 R.H. Martin         P. 4
  201.  
  202.  
  203.                                    INTRODUCTION
  204.                                    ------------
  205.  
  206.                                      OVERVIEW
  207.  
  208.      DBS-KAT is an easy, practical, super capacity diskette cataloger for
  209.      owners of IBM PC computers and compatibles.  Without sacrificing
  210.      processing performance, it can manage up to 9,999 diskettes and 16
  211.      million filenames in one central database.
  212.  
  213.      DBS-KAT is primarily aimed at hard disk owners, who utilize floppy
  214.      diskettes for backup and archival purposes.  However, if the hard disk
  215.      owner has a tape device, such as made by ADIC, which fools DOS into
  216.      thinking it is a large diskette, then DBS-KAT should also be able to
  217.      process the filenames on those tape cartridges.  If you are able to do so
  218.      on a non-ADIC made tape drive, please report your success to Applied
  219.      Foresight.
  220.  
  221.      There are other diskette catalogers, all of which seem to be addressed to
  222.      floppy disk owners, for only one of them can contain more than a few
  223.      thousand file names, and that one only 32,000 file names.  These other
  224.      products, in the reviewed version levels, respectively can only handle a
  225.      maximum of 780, 3000 and 4,326 filenames in one diskette catalog file.
  226.  
  227.      DBS-KAT is 99% written in the C programming language (Lattice C), the
  228.      remainder in Assembler.  It uses a run-time royalty-free and license-free
  229.      network model database manager, called DB-VISTA by RAIMA Corporation,
  230.      11717 Rainier Avenue South, Seattle, WA 98178.
  231.  
  232.      Another benefit of DBS-KAT is the printer program which printed this
  233.      manual for you.  KPRINT has an abundant number of printer features which
  234.      makes it ideal for printing out source code of programs and other types
  235.      of plain ASCII files.  It has gone through over 30 upgrades because of
  236.      numerous upgrade requests.  Online help is available by just typing in
  237.      KPRINT and pressing the ENTER key.
  238.  
  239.  
  240.                                PHILSOPHY OF DBS-KAT
  241.  
  242.      DBS-KAT follows the DB-SHARE distribution concept, developed by DBS-KAT's
  243.      author and separately explained in THE DB-SHARE PROGRAM manual.
  244.  
  245.      The purpose of the DBS-KAT software is to maintain a master catalog of
  246.      all diskette filenames that can be inquired against quickly to inform you
  247.      which diskette(s) contains the filename(s) you are looking for.
  248.  
  249.      Simply put, DBS-KAT requires that you physically label all your diskettes
  250.      starting with the label 0001 up through 9999 and that you stack your
  251.      diskettes sequentially in numeric order.  It makes no difference how
  252.      unrelated any neighboring sequenced diskette is, for DBS-KAT will provide
  253.      the logical organization to your diskettes.  Then all you have to do is
  254.      let DBS-KAT "look" at each one of your diskettes as they are used.
  255.  
  256.  
  257.  
  258.  
  259.  
  260.  
  261.  
  262.  
  263.  
  264.  
  265.  
  266.      DBS-KAT USER MANUAL         Copyright 1986 R.H. Martin         P. 5
  267.  
  268.  
  269.  
  270.      Simply doing this, DBS-KAT can always tell you quickly where is something
  271.      you want.  You can start using your diskettes to contain critically
  272.      needed current files.  You can delay updating the hard disk capacity of
  273.      your computer.  You can start thinking of your diskettes as being as
  274.      accessible to you as another hard disk subdirectory, for you will be able
  275.      to find out directory information about any file you have worked with,
  276.      regardless of whether it is currently on your hard disk or now on a
  277.      floppy.
  278.  
  279.      The philosophy of DBS-KAT is to make managing your diskette filenames as
  280.      effortless as possible.  Once you have installed DBS-KAT, and set up your
  281.      DBS-KAT system control record, the minimal amount of typing you have to
  282.      do in the lifetime of a single diskette, while you are inside the DBS-KAT
  283.      program, is to assign a 4 digit ID number, once, to the diskette.
  284.      Everything else is automatically done for you based upon the directory
  285.      information contained on the diskette and the default information for
  286.      diskettes existing in the system control record.
  287.  
  288.      Alternatively, if you so desire, you can maintain unique information
  289.      about individual diskette volumes.  When you invoke the DBS-KAT program
  290.      at the DOS system prompt, you indicate whether you want to be prompted
  291.      for manual entry of volume label textual information or whether you
  292.      desire to avoid these prompts and to instead have default information
  293.      apply.
  294.  
  295.  
  296.                           USING DBS-KAT WITH THE IBM AT
  297.  
  298.      The subdirectory which a diskette file may optionally reside in is
  299.      cataloged by DBS-KAT without requiring any action by the user.  Many IBM
  300.      AT owners may appreciate this DBS-KAT feature.  With the 1.2 MB capacity
  301.      floppies, there is increasing use of making subdirectories on floppies.
  302.      You do not need an IBM AT to make subdirectories on your floppies.  Just
  303.      type: MD A:\SUBDIR and press ENTER to create the directory called,
  304.      \SUBDIR, on drive A.
  305.  
  306.  
  307.                            DBS-KAT BASE SYSTEM FEATURES
  308.  
  309.      OVERALL FEATURES:
  310.      * Accomodates 9,999 diskettes containing up to 16 million filenames in
  311.        one central database.
  312.      * Diskette filenames cataloged without any data entry required.
  313.      * Designed to meet the diskette cataloging needs of hard disk owners.
  314.      * Enables hard disk owners to consider their diskettes an extension of
  315.        their hard disk subdirectories.
  316.      * Condensed online help screen.
  317.      * Feature-rich programmer source code print program included.
  318.      * Thorough documentation, including recovery documentation.
  319.  
  320.      CATALOG UPDATING FEATURES:
  321.      * Add or change a 4 digit diskette volume label within program.
  322.      * Optionally create unique header record for each cataloged diskette.
  323.  
  324.  
  325.  
  326.  
  327.  
  328.  
  329.  
  330.  
  331.  
  332.      DBS-KAT USER MANUAL         Copyright 1986 R.H. Martin         P. 6
  333.  
  334.  
  335.      * Diskette header carries freespace and filesum number for each diskette
  336.        without any user entry involved.
  337.      * Allows user-created default answers to diskette header fields, which
  338.        can be changed or over-ridden.
  339.      * Files located in diskette subdirectories are automatically cataloged.
  340.      * Does directory lists, deletes, or format of diskettes within program.
  341.      * Does a database backup while in the program.
  342.      * Alternate between diskette drives A: and B: while within program.
  343.      * Empty diskettes are specially processed as scratch diskettes.
  344.      * Optimized for speed, written in C using DB_VISTA database manager.
  345.      * Recognizes a previously cataloged, unchanged diskette, informs the user
  346.        and bypasses recataloging.
  347.      * Optional support for RAM disk utilization for program work files.
  348.      * Uses file compression techniques.
  349.      * Maintains a log file of 4 digit volume IDs processed, which can aid
  350.        database recovery if the database is ever damaged.
  351.  
  352.      CATALOG INQUIRY FEATURES:
  353.      * Password required to view contents of database, --database owner can
  354.        change this password (i.e., 2 passwords: user's & owner's).
  355.      * Lists all database filenames or diskette header records, or subsets of
  356.        either.
  357.      * Can list diskettes by volume ID order or by descending free space
  358.        order.
  359.      * Can list diskettes whose header record meets the selection criteria
  360.        given by user.
  361.      * Provides list of scratch diskettes.
  362.      * Easy method to list what diskettes hold backups of DBS-KAT database.
  363.      * Diskette list shows the previous & following diskette volume for a
  364.        multi-diskette set.
  365.      * Identifies BACKUP or other type volume.
  366.      * Lists uncataloged diskette numbers available.
  367.      * Selection can be by exact or partial match.
  368.      * User's search phrase can be exact length or be a left justified phrase
  369.        or floating phrase.
  370.      * Selection can include the filename, file extension, and/or subdirectory
  371.        name.
  372.      * Retrieval can be limited to entries cataloged at home, work or at both
  373.        locations.
  374.      * Listings can be directed to the screen, printer or file.
  375.      * Listings can be interrupted by pressing the ESC key.
  376.      * Screen listings pause until any key is pressed.
  377.      * Listings carry a date/time stamp and headings.
  378.      * Retrieval list can be sorted in reverse chronological order.
  379.  
  380.  
  381.  
  382.  
  383.  
  384.  
  385.  
  386.  
  387.  
  388.  
  389.  
  390.  
  391.  
  392.  
  393.  
  394.  
  395.  
  396.  
  397.  
  398.      DBS-KAT USER MANUAL         Copyright 1986 R.H. Martin         P. 7
  399.  
  400.  
  401.                                HARDWARE REQUIREMENTS
  402.                                ---------------------
  403.  
  404.                                MINIMUM REQUIREMENTS
  405.  
  406.      You minimally need the following for DBS-KAT:
  407.  
  408.         192K RAM memory free (256 KB RAM available);
  409.         Fixed Hard Disk -- see exception note below;
  410.         80-column monitor;
  411.         MS-DOS or PC-DOS 2.0 or higher;
  412.         a CONFIG.SYS file [create or modify yours as instructed in this
  413.            manual];
  414.         IBM PC,XT,AT or compatible
  415.  
  416.      You are advised to have at least 196,608 bytes of RAM or 192K RAM free
  417.      before running DBS-KAT.  Therefore, you should have at least 256K RAM
  418.      available.  DBS-KAT may run slightly under that amount of RAM free space,
  419.      but you do so at your own risk.
  420.  
  421.  
  422.                                 RECOMMENDED OPTIONS
  423.  
  424.      The following options are recommended.
  425.  
  426.         a computer printer capable of continuous printing and printing 80
  427.            columns per line;
  428.         a RAM disk-emulator (requires additional memory and RAM software) to
  429.            hold frequently called subprograms and run-time, temporary work
  430.            files;
  431.  
  432.      The printer will allow you to use those DBS-KAT options which utilize the
  433.      printer.  The RAM disk-emulator will not give you any extra features, but
  434.      will provide better performance.  If you are a novice DOS 2.00+ user, you
  435.      don't need to immediately worry about what a "RAM disk" is and how to
  436.      create one.  Over the weeks or months that you use DBS-KAT, you might
  437.      want to buy a DOS tutorial book, which will educate you about DOS and
  438.      what a "RAM DISK" is.  But for now, ignore discussions about "RAM DISKS".
  439.  
  440.      If you have an IBM AT, it's PC-DOS 3.0 supplies the capability to create
  441.      a RAM disk.  If you consider yourself past the DOS novice stage, read up
  442.      on your CONFIG.SYS and VDISK.SYS files.
  443.  
  444.  
  445.                                     COMMENTARY
  446.  
  447.      In lieu of a fixed hard disk, if you own an IBM AT with dual floppy
  448.      drives, one of them being a high capacity 1.2 MB disk drive, you could
  449.      conceivably use this software.
  450.  
  451.      With the DBS-KAT software and even a small DBS-KAT database (after a
  452.      month's usage), you'll be using up at least 500,000 bytes or 0.5 MB of
  453.  
  454.  
  455.  
  456.  
  457.  
  458.  
  459.  
  460.  
  461.  
  462.  
  463.  
  464.      DBS-KAT USER MANUAL         Copyright 1986 R.H. Martin         P. 8
  465.  
  466.  
  467.      disk space.  Covering 523 diskettes and 11,550 filenames, will require
  468.      less than 1.25 MB of space).  This 1.3 MB figure includes the DBS-KAT
  469.      software space requirements.
  470.  
  471.      You may ask: "How will DBS-KAT help me avoid needing extra hard disk
  472.      space if DBS-KAT will swallow between 1.25 MB of disk space?"  The answer
  473.      is that if you could rapidly access data files from your diskettes as
  474.      easy as you currently do a DOS DIR command for the location of a desired
  475.      file and your subsequent change to another hard disk directory to access
  476.      that file (else your COPY command against that file residing in the other
  477.      directory), then chances are that you would find yourself with 20-40%
  478.      more free space on your hard disk.
  479.  
  480.      DBS-KAT allows you to offload between 20-40% of your hard disk space,
  481.      which is probably now eaten up by moderately or infrequently accessed
  482.      data files, on to floppies.  You can leave your hard disk to keep
  483.      executeable programs and required companion files (e.g., program Help or
  484.      Screen files), as well as constantly accessed data files or databases.
  485.      You are advised to always offload files twice to different diskettes
  486.      before deleting these files on your hard disk.
  487.  
  488.      There are other reasons for DBS-KAT, which offset the disk space that
  489.      DBS-KAT imposes.  These other reasons are rapid access to archived files
  490.      and prior version files.  If you acquire the add-on DBS-KAT software
  491.      modules, you'll have additional reasons to put up with the slight loss of
  492.      hard disk space because of DBS-KAT.  Type KAT -O for a printout about the
  493.      DBS-KAT add-on software modules.
  494.  
  495.  
  496.  
  497.  
  498.  
  499.  
  500.  
  501.  
  502.  
  503.  
  504.  
  505.  
  506.  
  507.  
  508.  
  509.  
  510.  
  511.  
  512.  
  513.  
  514.  
  515.  
  516.  
  517.  
  518.  
  519.  
  520.  
  521.  
  522.  
  523.  
  524.  
  525.  
  526.  
  527.  
  528.  
  529.  
  530.      DBS-KAT USER MANUAL         Copyright 1986 R.H. Martin         P. 9
  531.  
  532.  
  533.                                    INSTALLATION
  534.                                    ------------
  535.  
  536.  
  537.                                      OVERVIEW
  538.  
  539.      Installation requires that you configure your operating system
  540.      environment to satisfactorily accomodate database management processing
  541.      and that you install the DBS-KAT software on your hard disk.
  542.  
  543.      For those users who understand DOS well and are impatient to proceed on
  544.      to the next section, I'll state the installation procedure fast.  If you
  545.      don't know what is being talked about, skip the following subsection and
  546.      print out and refer to the accompanying manual, INSTALLATION FOR NEW
  547.      COMPUTER USERS.  In that manual, you'll be walked through the
  548.      installation procedure step-by-step, slowly.
  549.  
  550.      At the end of either installation method, you'll end up with some install
  551.      files that don't need to be on your hard disk.  Appendix C lists the
  552.      files which the install process has you put on your drive.  To delete the
  553.      unneeded files from your hard disk, position your cursor in the same
  554.      directory on your hard disk where you installed DBS-KAT and type:
  555.         DEL  KATAD.*      and press ENTER.
  556.         DEL  USQ.*        and press ENTER.
  557.         DEL  KATBOOK*.*   and press ENTER.
  558.         DEL  *.OQT        and press ENTER.
  559.         DEL  READ.ME      and press ENTER.
  560.  
  561.  
  562.                           SHORT INSTALLATION INSTRUCTIONS
  563.                          FOR THE DOS 2.0+ EXPERIENCED USER
  564.  
  565.      Installation requires the following specific acts (assume drive A is a
  566.      floppy and drive C is a hard disk):
  567.  
  568.         1.  Make a duplicate copy of your DBS-KAT diskette for archival
  569.             purposes.
  570.  
  571.         2.  Put the DBS-KAT diskette in drive A.  Type:
  572.             COPY  A:KATDB.*  C:\/V and press the ENTER key.
  573.  
  574.             You are highly recommended to put your KATDB.* files in your root
  575.             directory.  If you put them in a subdirectory, then you must
  576.             always invoke a DBS-KAT program with a -L option and be sitting in
  577.             that directory at run time.  Specific syntax examples are given
  578.             later.
  579.  
  580.             Putting the KATDB.* files in your root, means that you can be
  581.             anywhere on your hard disk and from that location run DBS-KAT.
  582.             However, this assumes that you have a PATH statement which
  583.             minimally encompasses your root directory.  The following PATH
  584.             statement is minimally correct:
  585.  
  586.  
  587.  
  588.  
  589.  
  590.  
  591.  
  592.  
  593.  
  594.  
  595.  
  596.      DBS-KAT USER MANUAL         Copyright 1986 R.H. Martin         P. 10
  597.  
  598.  
  599.                PATH=C:\
  600.  
  601.             If you need to create or update your PATH statement, include the
  602.             PATH command line (such as the above) in your C:\AUTOEXEC.BAT
  603.             file.  If you don't have a C:\AUTOEXEC.BAT file, then minimally
  604.             create one which looks like the one below.  Use any editor which
  605.             can update a plain vanilla ASCII file (e.g., EDLIN, PC-WRITE, EC).
  606.             The PROMPT line is optional.  It will show you to the left of the
  607.             prompt sign, your current directory area.  A minimal
  608.             C:\AUTOEXEC.BAT file should include:
  609.                DATE
  610.                TIME
  611.                PATH=C:\
  612.                PROMPT $P$G
  613.  
  614.             If you are DOS 1.1 experienced, the filename "C:\MYFILE", means a
  615.             file, of the name "MYFILE" which resides in the root directory "\"
  616.             of drive "C:".  If your cursor is positioned already in the root
  617.             directory of C:, then you can ignore the "\" symbol.
  618.  
  619.         3.  Put the remaining DBS-KAT diskette files somewhere along your
  620.             PATH.  Also include in your path, your DOS programs, BACKUP,
  621.             RESTORE, SORT, MORE and FORMAT.  If you don't have or want a PATH
  622.             statement in your environment, put the entire DBS-KAT diskette
  623.             files in your root directory.  For instance, type: COPY  A:*.*
  624.             C:\/V and press the ENTER key to put everything in your root
  625.             directory.
  626.  
  627.         4.  Either create, update, or verify that your C:\CONFIG.SYS file
  628.             exists and has the following two lines in it:
  629.                FILES=20
  630.                BUFFERS=15
  631.             If you have an IBM AT, you could make the BUFFERS=25 instead.
  632.             The BUFFERS line is not needed by DBS-KAT, but since you're
  633.             changing CONFIG.SYS, you might as well optimize your BUFFERS line.
  634.  
  635.         5.  This is an optional step and not required.  If you don't have a
  636.             RAM disk, proceed to step 6.
  637.  
  638.             If you have a RAM disk, which is uploaded with files at power up
  639.             time with file copying going on in your C:\AUTOEXEC.BAT file,
  640.             consider putting the following files in your RAM disk.  This is
  641.             not required, but will give you performance improvement.  The
  642.             files include SORT.EXE, which comes on your DOS diskette.  The
  643.             files that you should consider putting in your RAM disk are:
  644.                SORT.EXE
  645.                KATDRIVE.EXE
  646.  
  647.             Also consider leaving spare space on your RAM disk of at least
  648.             30,000 bytes.  This empty space can be used by DBS-KAT for its
  649.             run-time, temporary work files.  The names of these run-time files
  650.             are KATWORK1.DIR, KATWORK2.DIR, and KATWORK.VOL.  You may have to
  651.  
  652.  
  653.  
  654.  
  655.  
  656.  
  657.  
  658.  
  659.  
  660.  
  661.  
  662.      DBS-KAT USER MANUAL         Copyright 1986 R.H. Martin         P. 11
  663.  
  664.  
  665.             also update your C:\CONFIG.SYS if your RAM disk space alottment is
  666.             done in that file.  If you use IBM AT high capacity floppies and
  667.             store a high number of files on them, you may need to allocate
  668.             more than 30,000 bytes to accomodate these work files.
  669.  
  670.             Put the drive designation for your RAM disk at the start of the
  671.             left hand side of your PATH statement, so that your RAM disk gets
  672.             looked at first down your PATH.  If drive D is your RAM disk, then
  673.             minimally your PATH statement should include:
  674.                PATH=D:\;C:\
  675.  
  676.         6.  Restart your computer now.
  677.  
  678.         7.  Excepting those with less than 100% IBM PC Compatibility or those
  679.             who power on their computer with a startup diskette, you can go to
  680.             the next section, "Updating The DBS-KAT System Control Record."
  681.             Those whose computers are neither IBM nor as compatible to an IBM
  682.             as a COMPAQ is, should read the next subsection before proceeding
  683.             to the next section.  Those who use a startup diskette should read
  684.             the section immediately following.
  685.  
  686.  
  687.                              INSTALLATION FOR NON-IBM
  688.                                COMPATIBLE MS-DOS PC
  689.  
  690.      The author has not tested this software on non-IBM compatible MS-DOS
  691.      computers.  It was developed on a COMPAQ PLUS computer however.  The
  692.      rapid display of DBS-KAT's signon and usage screen is the most IBM
  693.      specific piece of code knowingly used.  As said, this does work on a
  694.      COMPAQ PLUS.  However, it might not work on less compatible MS-DOS
  695.      computers.  For this reason, the user can disable this direct IBM-type
  696.      screen use.
  697.  
  698.      To do this, type in the following, with your prompt at the "C" level.
  699.      Type:   ECHO  X>\IAMNOTAN.IBM   and press the ENTER key.  This is all you
  700.      have to do.  What you've done is create a one byte file in your root
  701.      directory of your hard disk.  The drive must be the same as the drive
  702.      where your DBS-KAT database resides.  DBS-KAT will utilize a less machine
  703.      specific screen display method if it finds this file to exist.
  704.  
  705.  
  706.                 ADDITIONAL INSTALL INFORMATION FOR HARD DISK USERS
  707.                 WHO POWER ON THEIR COMPUTER WITH A STARTUP DISKETTE
  708.  
  709.      1. These instructions will assume that drive A is your floppy and that
  710.         drive C is your hard disk.  Also assumed is that during your following
  711.         the DBS-KAT installation instructions, that you inspected, and if
  712.         needed, updated the CONFIG.SYS and AUTOEXEC.BAT on a bootup floppy
  713.         diskette. Insert your bootup floppy in drive A.  Make sure you don't
  714.         have a write-protect tape on your floppy.  If so, temporarily remove
  715.         it.
  716.  
  717.  
  718.  
  719.  
  720.  
  721.  
  722.  
  723.  
  724.  
  725.  
  726.  
  727.  
  728.      DBS-KAT USER MANUAL         Copyright 1986 R.H. Martin         P. 12
  729.  
  730.  
  731.      2. Type: COPY A:COMMAND.COM C:\/V and press ENTER.  If you ever update
  732.         your operating system, be sure to repeat this operation with the new
  733.         COMMAND.COM.
  734.  
  735.      3. You must add a "SET COMSPEC" line to your AUTOEXEC.BAT file first so
  736.         that DBS-KAT will think you powered on off your hard disk.  Do the
  737.         below:
  738.         3.A.  At the "C" prompt, type: EDLIN A:AUTOEXEC.BAT and press ENTER.
  739.         3.B.  At the "*" EDLIN prompt, type: I and press ENTER.
  740.         3.C.  Type: SET COMSPEC=C:\COMMAND.COM and press ENTER.
  741.         3.D.  Press the F6 function key and press ENTER.
  742.         3.E.  Type: E and press ENTER.
  743.  
  744.      4. Restart your computer now, using your updated bootup floppy disk.
  745.         Also, if you have a backup of your bootup floppy disk, make sure the
  746.         backup gets the new AUTOEXEC.BAT put on it.  You must do this restart
  747.         of your computer in order for DBS-KAT to work correctly.
  748.  
  749.  
  750.  
  751.  
  752.  
  753.  
  754.  
  755.  
  756.  
  757.  
  758.  
  759.  
  760.  
  761.  
  762.  
  763.  
  764.  
  765.  
  766.  
  767.  
  768.  
  769.  
  770.  
  771.  
  772.  
  773.  
  774.  
  775.  
  776.  
  777.  
  778.  
  779.  
  780.  
  781.  
  782.  
  783.  
  784.  
  785.  
  786.  
  787.  
  788.  
  789.  
  790.  
  791.  
  792.  
  793.  
  794.      DBS-KAT USER MANUAL         Copyright 1986 R.H. Martin         P. 13
  795.  
  796.  
  797.                     UPDATING THE DBS-KAT SYSTEM CONTROL RECORD
  798.                     ------------------------------------------
  799.  
  800.      Before you can regularly use DBS-KAT to process and inquire against
  801.      diskettes, you must first update DBS-KAT's System Control Record, which
  802.      keeps track of your DBS-KAT database as well as holding your default
  803.      value entries.
  804.  
  805.      This manual explains the program prompts.  You can then actually update
  806.      your DBS-KAT system control record, taking mostly the default values,
  807.      except where it is obvious that you should over-ride the provided
  808.      default.  If you update your system control record after reading this
  809.      section, come back to this manual and read the remaining sections before
  810.      using the rest of DBS-KAT's features.
  811.  
  812.      You minimally only need to update your system control record during DBS-
  813.      KAT's install process.  The program used to update the system control
  814.      record is a subprogram within the inquiry program, KATLOOK.EXE.
  815.  
  816.      To perform this, you should be somewhere on your "C" drive with your
  817.      prompt ready to receive a command.  Either type: KATLOOK -M and press
  818.      ENTER or type: KAT -M and press ENTER.  Don't forget the minus sign
  819.      (hereafter called the "dash") if you type: KAT -M.  Typing KATLOOK -M
  820.      will actually load the program faster, as the other method first loads
  821.      the KAT program which in turns loads KATLOOK with the "-M" option.
  822.  
  823.      If you installed DBS-KAT in a subdirectory, type either KATLOOK -ML or
  824.      KAT -ML.
  825.  
  826.      After receiving a logo display, you'll get the message "No System Control
  827.      Record, --Putting you into add mode."  You'll be prompted for a variety
  828.      of fields, in each case you'll be shown the allowed maximum width of your
  829.      answer.  In some cases, you'll be shown a default answer you'll get if
  830.      you just press ENTER.  The prompts that you will be shown are reproduced
  831.      below.  Supporting comments are provided, when needed, alongside.
  832.  
  833.      Alternatively, if you have previously added a System Control Record,
  834.      you'll be put in the update mode where the prompts are so similar, that
  835.      they do not needed to be documented here.  However, you are not allowed
  836.      by this program to update the database owner's name, once you insert it
  837.      into your DBS-KAT database.  This is because of the security arrangement
  838.      of DB-SHARE, -see the manual on DB-SHARE for more information.
  839.  
  840.      When DBS-KAT is done processing the system control record, your DBS-KAT
  841.      database is closed and you are exited back to the DOS prompt.
  842.  
  843.      For the current software release of DBS-KAT, you are also unable to
  844.      change the database owner's password, which is the password needed to
  845.      change the user's password.  The reason for this is unrelated to security
  846.      reasons, and if enough users request it, the ability to change this
  847.      password will be allowed in a future release.
  848.  
  849.  
  850.  
  851.  
  852.  
  853.  
  854.  
  855.  
  856.  
  857.  
  858.  
  859.  
  860.      DBS-KAT USER MANUAL         Copyright 1986 R.H. Martin         P. 14
  861.  
  862.  
  863.      However, if you misspell your name or the database owner's password, you
  864.      are allowed at the end of the system control add function to start the
  865.      add process over again.  Once you've added the system control record,
  866.      then unless you want to start again with a totally empty DBS-KAT
  867.      database, you will be unable to change these two fields again using this
  868.      program.
  869.  
  870.      You can update the database owner's name, by ordering an add-on DBS-KAT
  871.      software module, because when you order with the DBS-KAT order form, you
  872.      specify the new (or same) database owner's name which the add-on software
  873.      program will use to update your old DBS-KAT database.
  874.  
  875.      All prompts require a response except where specified as "optional."
  876.      When you are given a default response (shown above the allocated space
  877.      for your answer), you can take the default response by just pressing the
  878.      ENTER key.
  879.  
  880.      Many of these prompts will be repeated during each diskette you process,
  881.      unless you chose at run time to have DBS-KAT skip prompting you and to
  882.      instead use the default answers set up in the system control record.
  883.      These prompts which are capable of being repeated for each diskette being
  884.      processed have the parenthetical statement "(for diskette vol. info.)"
  885.      shown beneath the prompt.  At run time, the actual wording of the prompts
  886.      may in some cases be up to 10 percent longer.  For space reasons, they
  887.      are shortened here to allow more space for the right hand commentary.
  888.  
  889.      PROMPT -----------------   COMMENT---------------------------------------
  890.  
  891.      Database Owner's Name      You are required to enter your name or that of
  892.                                 your company.  This name will be shown to you
  893.                                 each time that you run DBS-KAT in the manner
  894.                                 described in the DB-SHARE manual.
  895.  
  896.                                 This field is the only field which will
  897.                                 preserve lower case input.  All other fields
  898.                                 in DBS-KAT will upper case your input as it is
  899.                                 stored in the DBS-KAT database.
  900.  
  901.      Database User Password     The only place that DBS-KAT can optionally
  902.      (optional)                 have a security concern is in the inquiry
  903.                                 function and password maintenance function.
  904.                                 Anyone can always update your database (except
  905.                                 the password portion).
  906.  
  907.                                 The thinking behind this decision is that you
  908.                                 might have your secretary or assistant update
  909.                                 your DBS-KAT database as they update your
  910.                                 diskettes.  However, if you have hundreds of
  911.                                 diskettes, you might have some of them devoted
  912.                                 to confidential topics, which might be
  913.                                 revealed in their file name or volume (DBS-KAT
  914.                                 entered) heading.  You might want the location
  915.                                 of these diskettes hidden.
  916.  
  917.  
  918.  
  919.  
  920.  
  921.  
  922.  
  923.  
  924.  
  925.  
  926.      DBS-KAT USER MANUAL         Copyright 1986 R.H. Martin         P. 15
  927.  
  928.  
  929.  
  930.                                 Thus you can ask that DBS-KAT checks for a
  931.                                 user password (which you set up) of anyone
  932.                                 asking to inquire against the DBS-KAT
  933.                                 database.
  934.  
  935.      Password to chg password   Since you may allow more than yourself the
  936.      (optional)                 right to inquire into your database and you
  937.                                 may later change your mind about another
  938.                                 person's right to look into your data base, a
  939.                                 password beside the user password was needed.
  940.                                 Consider this the owner's or administrator's
  941.                                 password.
  942.  
  943.                                 IMPORTANT! Do not ever forget this password!
  944.                                 If you forget it, there is no way you can use
  945.                                 either the existing DBS-KAT software or
  946.                                 DEBUG's dump command to uncover this password.
  947.                                 A proprietary encryption method stores this
  948.                                 password in your DBS-KAT database.  Use a
  949.                                 password that is impossible for you to forget,
  950.                                 yet which is one others won't ever guess, such
  951.                                 as a childhood nickname no longer used, or
  952.                                 your first date's name, etc.  You may want to
  953.                                 write your password down and store it in your
  954.                                 safe or safety deposit box.
  955.  
  956.                                 Note: if you decide not to implement this
  957.                                 administrator's password during the initial
  958.                                 add system control process, you are never
  959.                                 given the opportunity to change your mind.
  960.  
  961.                                 If you aren't excited about requiring a
  962.                                 password at inquiry time, you might want to
  963.                                 implement an administrator password, but skip
  964.                                 for the time being a user password.  If you
  965.                                 know the administrator password, you can
  966.                                 always assign a new user password via the
  967.                                 update system control process.
  968.  
  969.      Enter begin no. for home   The default number is 0001.  DBS-KAT allows
  970.                                 designating the location of your diskettes to
  971.                                 be either at work or at home.  Some of the
  972.                                 DBS-KAT users may be using a COMPAQ PLUS and
  973.                                 thereby be tracking diskettes at both
  974.                                 locations.
  975.  
  976.                                 The purpose of this field is to save you
  977.                                 keystrokes in assigning the volume ID for your
  978.                                 diskette.  You are always allowed to over-ride
  979.                                 the prompted default value.
  980.  
  981.  
  982.  
  983.  
  984.  
  985.  
  986.  
  987.  
  988.  
  989.  
  990.  
  991.  
  992.      DBS-KAT USER MANUAL         Copyright 1986 R.H. Martin         P. 16
  993.  
  994.  
  995.      Enter begin no. for work   The default number is 5001.
  996.  
  997.      # of disk upds b4 sugg.bu  Because DBS-KAT involves a database, you are
  998.                                 suggested to periodically back up your
  999.                                 database, in case unpredicatible
  1000.                                 interruptions, whether hardware or otherwise
  1001.                                 caused, destroy your database.  At the start
  1002.                                 of each diskette to be processed, you are
  1003.                                 given the option to backup the database.
  1004.                                 However, you may decide to methodically back
  1005.                                 up the database every so many diskettes.  If
  1006.                                 you desire a periodic reminder, insert the
  1007.                                 desired interval here, otherwise assign a very
  1008.                                 high number (e.g., 99).
  1009.  
  1010.      Enter diskette drive char  Typically, you'll probably choose the default
  1011.                                 letter, A.  However, you can choose any
  1012.                                 legitimate floppy disk drive, or drive which
  1013.                                 acts to DOS like a floppy disk drive (refer to
  1014.                                 earlier comments in the Hardware Requirements
  1015.                                 Section).
  1016.  
  1017.                                 If you have an IBM AT, and alternate between
  1018.                                 drive A and B, you should pick the letter used
  1019.                                 the most often.  You are given the opportunity
  1020.                                 inside the cataloging program to over-ride
  1021.                                 this letter.
  1022.  
  1023.      Enter KATWORK.VOL drive    DBS-KAT during its processing of a diskette,
  1024.                                 will do a DOS "VOL" command and redirect it's
  1025.                                 output to a disk file, called KATWORK.VOL.  If
  1026.                                 you have an electronic RAM DISK, indicate its
  1027.                                 drive letter here.  The default drive letter
  1028.                                 is the typical hard drive letter, C.
  1029.  
  1030.      Enter KATWORK1.DIR drive   DBS-KAT during its processing of a diskette,
  1031.      ENTER KATWORK2.DIR drive   will run another program, KATDRIVE.EXE, which
  1032.                                 creates a directory display file of your
  1033.                                 entire diskette, even if it has subdirectory-
  1034.                                 located files on it.  The unsorted directory
  1035.                                 display file is called KATWORK1.DIR.  DBS-KAT
  1036.                                 then runs your DOS program, SORT.EXE, against
  1037.                                 this KATWORK1.DIR file and outputs the sorted
  1038.                                 version of this file under the name
  1039.                                 KATWORK2.DIR.  If you have an electronic RAM
  1040.                                 DISK, indicate its drive letter here.  The
  1041.                                 default drive letter is the typical hard drive
  1042.                                 letter, C.
  1043.  
  1044.      Min bytes floppy file hogs Let's say you create a 1 byte file on an empty
  1045.                                 diskette.  Try it.  Type: ECHO X>A:MYFILE and
  1046.                                 press ENTER.  Now do a DIR A: and press ENTER.
  1047.  
  1048.  
  1049.  
  1050.  
  1051.  
  1052.  
  1053.  
  1054.  
  1055.  
  1056.  
  1057.  
  1058.      DBS-KAT USER MANUAL         Copyright 1986 R.H. Martin         P. 17
  1059.  
  1060.  
  1061.                                 Write down the number of remaining bytes left.
  1062.                                 Now type: DEL A:MYFILE and press ENTER.  Write
  1063.                                 down the number of remaining bytes left.
  1064.                                 Subtract the two.  Typically, you'll find 1024
  1065.                                 bytes used up by that 1 byte file!  This
  1066.                                 number, or a different one, if you are using a
  1067.                                 different type of drive, needs to be
  1068.                                 indicated.
  1069.  
  1070.                                 The purpose of this information is for DBS-KAT
  1071.                                 to figure out how many bytes the total number
  1072.                                 of your files use on a diskette.  DBS-KAT will
  1073.                                 minimally use this number for each filename if
  1074.                                 your filesize is smaller than this number.
  1075.  
  1076.      Default From Hd Drive      Typically this is drive C, the default.  If
  1077.      (for diskette vol. info.)  you ask DBS-KAT to prompt you for each
  1078.                                 diskette being processed, you'll be prompted
  1079.                                 for the source hard disk drive, and be given
  1080.                                 this letter as the default answer.
  1081.  
  1082.      Default vol. pathname      The default hard disk source pathname for your
  1083.      (for diskette vol. info.)  diskette file is "VARIES".  If you catalog a
  1084.                                 diskette with no files on it, and you've asked
  1085.                                 not to be prompted for volume heading
  1086.                                 information, DBS-KAT substitutes a blank
  1087.                                 pathname.
  1088.  
  1089.                                 The idea behind the pathname is to have the
  1090.                                 inquiry function act similar to how you
  1091.                                 interrogate your directory on your hard disk.
  1092.                                 On your hard disk, you'll typically move
  1093.                                 yourself to a directory, and then query a file
  1094.                                 set against only that directory.
  1095.  
  1096.                                 For example, if you are in a directory for
  1097.                                 your word processing files, the DIR *.DOC will
  1098.                                 scope word processing files, whereas if you
  1099.                                 have a directory for your programming
  1100.                                 development, the DIR *.DOC might scope program
  1101.                                 development or usage documentation files.
  1102.  
  1103.                                 However, to minimize database overhead both to
  1104.                                 reduce disk space utilization and update
  1105.                                 processing time, the directory database is not
  1106.                                 structurally segmented by pathname.  Doing an
  1107.                                 inquiry similar to a DIR *.DOC against your
  1108.                                 \WORK directory, will involve scanning your
  1109.                                 DBS-KAT database from the very first record
  1110.                                 through the very last record.  Thus, you'll
  1111.                                 probably want to minimize inquiries where the
  1112.                                 leading characters of the filename are
  1113.                                 irrelevant.
  1114.  
  1115.  
  1116.  
  1117.  
  1118.  
  1119.  
  1120.  
  1121.  
  1122.  
  1123.  
  1124.      DBS-KAT USER MANUAL         Copyright 1986 R.H. Martin         P. 18
  1125.  
  1126.  
  1127.  
  1128.      Default vol. note          This is a 13 character field, which can be
  1129.      (for diskette vol. info.)  thought of being a commentary field on the
  1130.                                 diskette's contents or a place for extended
  1131.                                 path information, in case your source hard
  1132.                                 disk pathname is longer than 8 characters long
  1133.                                 (e.g., \LOTUS\TEMPLATE\DOC).   Examples of
  1134.                                 appropriate comments might be "NORTON UTILS",
  1135.                                 "XTALK" or "LOTUS".
  1136.  
  1137.                                 The default note for your diskette volume
  1138.                                 heading is "MISC".  If you catalog a diskette
  1139.                                 with no files on it, and you've asked not to
  1140.                                 be prompted for volume heading information,
  1141.                                 DBS-KAT substitutes "SCRATCH" for the volume
  1142.                                 heading note.
  1143.  
  1144.      Default YY+Qtr buy disk    You might want to keep track of how old a
  1145.      (for diskette vol. info.)  diskette is.  The default answer, zero, will
  1146.                                 substitute the current YEAR and QUARTER
  1147.                                 (concatenated together as a 3 digit number).
  1148.                                 When first entering in all your old diskettes,
  1149.                                 if they are on the average 9 months ago, you
  1150.                                 might want to indicate the YY+Qtr for that
  1151.                                 period.  Then after your initial database
  1152.                                 load, you could change the default value back
  1153.                                 to zero.
  1154.  
  1155.      Diskette Format OP SYS     Indicate here the default for whether the
  1156.      (for diskette vol. info.)  diskette is normally formatted under IBM PC
  1157.                                 DOS ('P'), which is the default, or under MS
  1158.                                 DOS ('M').
  1159.  
  1160.                                 These letters do not cause anything special to
  1161.                                 happen, except that they will be redisplayed
  1162.                                 on some screen outputs.  You can use
  1163.                                 alternative letters if you wish.
  1164.  
  1165.      OP SYS Ver. (no dec.pt.)   Indicate here the default for which DOS
  1166.      (for diskette vol. info.)  version number, the diskette was formatted
  1167.                                 under, however do not use a decimal point
  1168.                                 (wasted storage & display space to carry the
  1169.                                 decimal).  Thus 200, the default, refers to
  1170.                                 2.00 DOS.
  1171.  
  1172.      Usual seq_typ is           You may be processing a group of related
  1173.      (for diskette vol. info.)  diskettes.  The grouping may be because you
  1174.                                 are using the DOS BACKUP command (type 'B'),
  1175.                                 which is the default or because you are
  1176.                                 cataloging a software package containing more
  1177.                                 than one diskette (type 'P').
  1178.  
  1179.  
  1180.  
  1181.  
  1182.  
  1183.  
  1184.  
  1185.  
  1186.  
  1187.  
  1188.  
  1189.  
  1190.      DBS-KAT USER MANUAL         Copyright 1986 R.H. Martin         P. 19
  1191.  
  1192.  
  1193.                                 You are free to invent other sequence types.
  1194.                                 However, use 'B' for the DOS BACKUP sequence
  1195.                                 type.  Future DBS-KAT software may act upon
  1196.                                 this information.
  1197.  
  1198.                                 For now, just indicate, that when you are
  1199.                                 processing a sequence of diskettes, what will
  1200.                                 be the normal sequence type.  Don't worry if
  1201.                                 most of the time you will not be processing a
  1202.                                 sequence of diskettes.
  1203.  
  1204.      Disk usually part of set   Indicate 'Y' or 'N' (the default), whether the
  1205.                                 normal diskette you intend to catalog will
  1206.                                 belong to a sequentially related set of
  1207.                                 diskettes, such as a full backup set, etc.
  1208.  
  1209.      Enter DOS cmd for B/U      You are highly recommended to perform your PC
  1210.                                 KAT database backup under DBS-KAT supervision.
  1211.                                 The default method is via the DOS BACKUP
  1212.                                 command ("BACKUP C:\KATDB.* A:").  You can
  1213.                                 insert any valid DOS command here to
  1214.                                 accomplish your backup.  Your DOS command
  1215.                                 could even be the .BAT file name to do your
  1216.                                 backup (leave out the ".BAT").
  1217.  
  1218.                                 The DBS-KAT database will be updated that you
  1219.                                 are about to do a backup, then the database
  1220.                                 will be closed prior to your backup.  Also,
  1221.                                 your DBS-KAT log file will note the occurrence
  1222.                                 of a backup being performed.  More about this
  1223.                                 log file later in the manual.
  1224.  
  1225.      Enter label utility name   DBS-KAT comes with the free, user group
  1226.                                 program, VOLSER Version 2.00, Copyright 1983
  1227.                                 by T. A. Davis.  As T. Davis does not provide
  1228.                                 an address either in his program or his
  1229.                                 documentation, Applied Foresight is unable to
  1230.                                 ask his permission or to ask users of DBS-KAT
  1231.                                 to voluntarily contribute an appreciation
  1232.                                 token to Mr. T. A. Davis.  VOLSER is a label
  1233.                                 utility.
  1234.  
  1235.                                 With VOLSER or an alternative software label
  1236.                                 utility, which you would select here, you can
  1237.                                 update your diskette with the volume ID four
  1238.                                 digit number (use leading zeros to make the
  1239.                                 volume ID 4 digits).  Having the volume ID
  1240.                                 software embedded onto the diskette, saves
  1241.                                 DBS-KAT from having to ask you each time what
  1242.                                 is the number on the sticky label outside your
  1243.                                 diskette.  Oh yes, you should have a four
  1244.                                 digit volume ID on a sticky label outside your
  1245.                                 diskette.
  1246.  
  1247.  
  1248.  
  1249.  
  1250.  
  1251.  
  1252.  
  1253.  
  1254.  
  1255.  
  1256.      DBS-KAT USER MANUAL         Copyright 1986 R.H. Martin         P. 20
  1257.  
  1258.  
  1259.  
  1260.                                 If you don't care to use VOLSER, indicate the
  1261.                                 label utility program of your choice.
  1262.                                 Norton's Utilities comes with the program,
  1263.                                 LABEL.  IBM PC DOS 3.0 comes with its utility
  1264.                                 program, LABEL.  Make your choice known to
  1265.                                 DBS-KAT.
  1266.  
  1267.                                 The unaltered documentation on VOLSER by T. A.
  1268.                                 Davis, is in the file, VOLSER.DOC, which is on
  1269.                                 your PC KAT diskette.
  1270.  
  1271.      Entries Okay               The default answer is 'Y' for Yes.  If you
  1272.                                 want to change one of your answers made above,
  1273.                                 you should answer 'N' for No.  You'll be
  1274.                                 reprompted for every field again, starting
  1275.                                 from the first prompt.
  1276.  
  1277.  
  1278.  
  1279.  
  1280.  
  1281.  
  1282.  
  1283.  
  1284.  
  1285.  
  1286.  
  1287.  
  1288.  
  1289.  
  1290.  
  1291.  
  1292.  
  1293.  
  1294.  
  1295.  
  1296.  
  1297.  
  1298.  
  1299.  
  1300.  
  1301.  
  1302.  
  1303.  
  1304.  
  1305.  
  1306.  
  1307.  
  1308.  
  1309.  
  1310.  
  1311.  
  1312.  
  1313.  
  1314.  
  1315.  
  1316.  
  1317.  
  1318.  
  1319.  
  1320.  
  1321.  
  1322.      DBS-KAT USER MANUAL         Copyright 1986 R.H. Martin         P. 21
  1323.  
  1324.  
  1325.                                CATALOGING DISKETTES
  1326.                                --------------------
  1327.  
  1328.                                  INVOKING DBS-KAT
  1329.  
  1330.      Efficient and rewarding use of DBS-KAT involves continually keeping your
  1331.      DBS-KAT database up to date about the contents of all of your diskettes.
  1332.      This is done by the DBS-KAT diskette cataloger program function, which
  1333.      can be invoked in a variety of ways.  You can enter the commands in upper
  1334.      or lower case, it makes no difference.  These commands are entered at the
  1335.      DOS prompt level.
  1336.  
  1337.      INVOKE CMD   COMMENT-------------------------------------------------
  1338.  
  1339.      KAT -U       Catalog diskettes until requested to exit or backup my DBS-
  1340.                   KAT database.  Provide prompts, with defaults shown, to add
  1341.                   or update unique diskette volume information.  Will be asked
  1342.                   by DBS-KAT at the start of the program if location is Home
  1343.                   or Work.
  1344.  
  1345.      KAT -UH      Same as above, except prespecified location is Home.
  1346.  
  1347.      KAT -UW      Same as above, except prespecified location is Work.
  1348.  
  1349.      KAT -U2      Same as KAT -U, except only process for two diskettes.
  1350.  
  1351.      KAT -U2H     Same as KAT -UH, except only process for two diskettes.
  1352.  
  1353.      KAT -UN      Same as KAT -U, except bypass prompting for unique diskette
  1354.                   volume information.  Use the default values based upon the
  1355.                   system control record.
  1356.  
  1357.                   For those users who habitually name their files in such a
  1358.                   manner that just remembering the spelling of part or all of
  1359.                   the file name is all that is necessary to know about, those
  1360.                   users might be satisfied running DBS-KAT this way.  It saves
  1361.                   about 30-60 seconds per processed diskette, to use the -N
  1362.                   option.
  1363.  
  1364.                   Alternatively, on many of your diskettes, you might want to
  1365.                   not use the -N option.  For instance, you might want to
  1366.                   state that the involved diskette belongs to the path, UTIL,
  1367.                   and in the note field, state "PC-TALK III", and so forth.
  1368.                   However, some users, lazy like the Author, might not care
  1369.                   about volume heading information, and rely upon the fact
  1370.                   that on this diskette, retrieving by the file name, "PC-
  1371.                   TALK", will always enable DBS-KAT to tell me which diskette
  1372.                   volume to look for PC-TALK III.
  1373.  
  1374.                   On diskettes which habitually get reused for totally
  1375.                   different file storage purposes, you might want to always
  1376.                   use the -N option.
  1377.  
  1378.  
  1379.  
  1380.  
  1381.  
  1382.  
  1383.  
  1384.  
  1385.  
  1386.  
  1387.  
  1388.      DBS-KAT USER MANUAL         Copyright 1986 R.H. Martin         P. 22
  1389.  
  1390.  
  1391.  
  1392.                   While inside DBS-KAT, you can toggle having this "N" option
  1393.                   on or off.
  1394.  
  1395.      KAT -UNH     Same as KAT -UN except prespecified Home as the location.
  1396.  
  1397.      KAT -U2NH    Same as KAT -UNH, except only process for two diskettes.
  1398.  
  1399.      KAT -UA      Same as KAT -U, except floppy to process is on drive A:,
  1400.                   regardless of what drive letter the system control record
  1401.                   points to.
  1402.  
  1403.      KAT -UB      Same as KAT -U, except floppy to process is on drive B:,
  1404.                   regardless of what drive letter the system control record
  1405.                   points to.
  1406.  
  1407.      KAT -LU      Same as KAT -U, except use the DBS-KAT database in the
  1408.                   current directory.  Without the -L option, DBS-KAT will move
  1409.                   to the root (\) directory to process a DBS-KAT database
  1410.                   there.
  1411.  
  1412.      The user can invoke DBS-KAT using valid combinations of the above.  Of
  1413.      course, -A and -B can never be used together.  Nor can -H and -W ever be
  1414.      used together.
  1415.  
  1416.      The order in which the options are stated are irrelevant, except that
  1417.      only a number can follow the -U option, immediately to the right of the
  1418.      "U".  Thus, typing KAT -UN and KAT -NU will perform the same thing.  Some
  1419.      of the above options can be chosen from a menu which drives the program.
  1420.      This menu is shown in the "CATALOGING PROCEDURE" subsection below.
  1421.  
  1422.  
  1423.                           DISKETTE HANDLING WITH DBS-KAT
  1424.  
  1425.      You should physically and software label all your diskettes with a four
  1426.      digit number.  Write-protected diskettes need not be software labeled.  A
  1427.      physically labeled diskette means that with a soft felt tip pen, you have
  1428.      written a four digit number which is visible on the diskette gum label
  1429.      which sticks on the outside of the diskette.  A software labeled diskette
  1430.      means that when you do a DOS DIR A: against the diskette, that you are
  1431.      shown something like the below as the first two lines of the display:
  1432.         Volume in drive A is 0175
  1433.         Directory of A:\
  1434.  
  1435.      DBS-KAT provides you with means to do software labeling from inside the
  1436.      cataloging program.  Refer back to the last prompt in the System Control
  1437.      Record.  The recommended route is to use the numbers 0001-5000 for
  1438.      diskettes initially cataloged at Home, and to use the numbers 5001-9999
  1439.      for diskettes initially cataloged at Work.  If you only have one
  1440.      location, then use the numbers 0001-9999.  These are only
  1441.      recommendations.  The only requirement is that the volume ID must be
  1442.      either blank or a four digit number.  Blank volume ID labels should be
  1443.  
  1444.  
  1445.  
  1446.  
  1447.  
  1448.  
  1449.  
  1450.  
  1451.  
  1452.  
  1453.  
  1454.      DBS-KAT USER MANUAL         Copyright 1986 R.H. Martin         P. 23
  1455.  
  1456.  
  1457.      minimized to write-protected diskettes, because each time you catalog the
  1458.      diskette, you have to remind DBS-KAT of the volume label number.
  1459.      Diskettes which are software labeled, are automatically recognized by
  1460.      DBS-KAT as to what volume label ID it contains.
  1461.  
  1462.      In your diskette containers, you should stack all your diskettes
  1463.      sequentially in numeric order.  It makes no difference how unrelated any
  1464.      neighboring sequenced diskette is, for DBS-KAT will provide the logical
  1465.      organization to your diskettes.  However, you'll still find it convenient
  1466.      to keep sequentially logically related diskettes in sequential numeric
  1467.      order, such as for full hard disk backups, etc.  The author reserves
  1468.      three neighboring numbered diskettes for his DBS-KAT database backups,
  1469.      since with its some 13,400 plus filenames, it goes a little into the
  1470.      third diskette to back up a DBS-KAT database this big.  Doing this is a
  1471.      convenience not a necessity, for the diskette volume inquiry process will
  1472.      remind you of what follows or precedes a diskette (assuming you told DBS-
  1473.      KAT about the sequencing originally).
  1474.  
  1475.      A "scratch" diskette is one which is either empty of files, or one which
  1476.      has junk or obsolete files on them and can be erased without worry.  When
  1477.      DBS-KAT processes a scratch diskette, it labels the database volume
  1478.      header with the word "SCRATCH."  You can ask DBS-KAT for a screen or
  1479.      printout of your SCRATCH volumes.  However, if you don't want to have to
  1480.      run this inquiry to find out where your scratch diskettes are, you could
  1481.      consider temporarily locating your scratch diskettes in a scratch
  1482.      diskette container or separate location.
  1483.  
  1484.  
  1485.                              THE CATALOGING PROCEDURE
  1486.  
  1487.      The cataloging program is menu driven and your choices for action are
  1488.      displayed as follows:
  1489.  
  1490.      -------------------------------------------------------------------------
  1491.      OPT: DESCRIPTION                     OPT: DESCRIPTION
  1492.  
  1493.      P   Insert diskette now to PROCESS   E   EXIT program now
  1494.      H   change location to HOME          W   change location to WORK
  1495.      V   change database VOLUME header    L   change diskette volume LABEL
  1496.      D   diskette dir/w & DEL option      F   FORMAT a diskette
  1497.      T   TOGGLE vol hdr prompting on/off  S   SWITCH to another diskette drive
  1498.      B   BACKUP database & exit program
  1499.  
  1500.      PARMS ON: Locn=> HOME; Prompting=> ON; Directory=> ROOT; Floppy=> A:
  1501.                                      P
  1502.      Do: B,D,E,F,H,L,P,S,T,V,W ?    > <
  1503.      -------------------------------------------------------------------------
  1504.  
  1505.      Most of the prompts and activity occurring in the DBS-KAT cataloging
  1506.      procedure is self evident, based upon the user understanding the system
  1507.      control record update process and being able to read the cataloging
  1508.      procedure displays and prompts.
  1509.  
  1510.  
  1511.  
  1512.  
  1513.  
  1514.  
  1515.  
  1516.  
  1517.  
  1518.  
  1519.  
  1520.      DBS-KAT USER MANUAL         Copyright 1986 R.H. Martin         P. 24
  1521.  
  1522.  
  1523.  
  1524.      This documentation will cover the portions of this procedure which may
  1525.      not be completely self-evident.
  1526.  
  1527.      1.  In the overview section, DBS-KAT was discussed being smart enough to
  1528.          know that you hadn't made any changes since your last cataloging
  1529.          process against that diskette.  There is one ramification to this
  1530.          smartness.  If your only change to a previously processed diskette,
  1531.          is that you renamed a file, then DBS-KAT will not process the
  1532.          diskette, because renaming an existing file on a diskette will not
  1533.          impact either of the two captured totals.  These two totals, you will
  1534.          recall, deal with the total number of files on the diskette, and the
  1535.          sum total of file dates + times + sizes covering that diskette.
  1536.  
  1537.      2.  When you are displayed the volume heading information for a
  1538.          previously cataloged diskette, you are given the following column
  1539.          headings:
  1540.  
  1541. VOL# --PATH-- NOTE/EXT-PATH LAST UPDATE #FIL KBLF L F O VER BUY NV TSQ NEXT LAST
  1542.  
  1543.  
  1544.      The unobvious column headings above mean the following:
  1545.  
  1546.      KBLF         The number of kilobytes available for additional file use.
  1547.  
  1548.      L            Location where the prior cataloging processing took place.
  1549.  
  1550.      F            The letter of the hard disk from which these files came
  1551.                   from.
  1552.  
  1553.      O            The operating system type under which the cataloged diskette
  1554.                   was formatted.
  1555.  
  1556.      VER          The operating system version number under which the
  1557.                   cataloged diskette was formatted.
  1558.  
  1559.      NV           The newest version file of all files on this diskette.  This
  1560.                   information is only available if the add-on software module,
  1561.                   which does the aging analysis, is owned and ran against your
  1562.                   DBS-KAT database.  This add-on software module is not yet
  1563.                   available, as of the release time of this document.  It will
  1564.                   be available in a matter of months.
  1565.  
  1566.                   When this field is operational, if it contained the number
  1567.                   "2" or higher, it would mean that nothing on this file is
  1568.                   most recent compared to same named files on other diskettes.
  1569.                   You could conceivably reuse this diskette if you aren't
  1570.                   interested in prior versions of your files.
  1571.  
  1572.      TSQ          This represents two columns of information without a
  1573.                   separating blank space between them:
  1574.                   T     Sequence type (eg, B=BACKUP, P=SOFTWARE PACKAGE)
  1575.  
  1576.  
  1577.  
  1578.  
  1579.  
  1580.  
  1581.  
  1582.  
  1583.  
  1584.  
  1585.  
  1586.      DBS-KAT USER MANUAL         Copyright 1986 R.H. Martin         P. 25
  1587.  
  1588.  
  1589.                   SQ    Sequence number (ie, 01-99).
  1590.  
  1591.      3.  You can remove the diskette from the disk drive which is being
  1592.          cataloged when you see on your screen either of the following two
  1593.          messages.  If you have another diskette to process, you can insert it
  1594.          at this time.
  1595.  
  1596.          a) "Will display each input directory filename as it is processed:"
  1597.          b) "Input directory has no files on it--processing as a scratch
  1598.             volume."
  1599.  
  1600.  
  1601.  
  1602.  
  1603.  
  1604.  
  1605.  
  1606.  
  1607.  
  1608.  
  1609.  
  1610.  
  1611.  
  1612.  
  1613.  
  1614.  
  1615.  
  1616.  
  1617.  
  1618.  
  1619.  
  1620.  
  1621.  
  1622.  
  1623.  
  1624.  
  1625.  
  1626.  
  1627.  
  1628.  
  1629.  
  1630.  
  1631.  
  1632.  
  1633.  
  1634.  
  1635.  
  1636.  
  1637.  
  1638.  
  1639.  
  1640.  
  1641.  
  1642.  
  1643.  
  1644.  
  1645.  
  1646.  
  1647.  
  1648.  
  1649.  
  1650.  
  1651.  
  1652.      DBS-KAT USER MANUAL         Copyright 1986 R.H. Martin         P. 26
  1653.  
  1654.  
  1655.                        INQUIRING AGAINST THE DBS-KAT CATALOG
  1656.                        -------------------------------------
  1657.  
  1658.                                  INVOKING DBS-KAT
  1659.  
  1660.      Before you actually update and inquire against your DBS-KAT database, you
  1661.      should read the last remaining section, which comes in the next section
  1662.      "MAINTAINING AND RECOVERING YOUR DATABASE."
  1663.  
  1664.      The main purpose for having DBS-KAT is to ask it which diskette(s) has
  1665.      such and such file on it?  This is done by the DBS-KAT catalog inquiry
  1666.      program function, which can be invoked in a variety of ways.  You can
  1667.      enter the commands in upper or lower case, it makes no difference.  These
  1668.      commands are entered at the DOS prompt level.
  1669.  
  1670.      INVOKE CMD   COMMENT-------------------------------------------------
  1671.  
  1672.      KATLOOK      This is the quickest way to look at your DBS-KAT database.
  1673.                   If you chose the alternate route of KAT -D, it would invoke
  1674.                   KATLOOK anyway.  So you save having to have the computer
  1675.                   first load KAT.EXE followed by then loading KATLOOK.EXE if
  1676.                   you just type KATLOOK and press ENTER.
  1677.  
  1678.      KAT -D       Same as KATLOOK, except computer takes a couple of seconds
  1679.                   longer to function.
  1680.  
  1681.      KATLOOK -P   Same as KATLOOK, except you request that DBS-KAT does not
  1682.                   show in the PATH & EXT PATH/NOTE columns the subdirectory
  1683.                   information if the file entry sat in a subdirectory on the
  1684.                   diskette.  The only thing that would be shown in these two
  1685.                   columns would be information from the diskette volume header
  1686.                   record.
  1687.  
  1688.                   Since most users will not be utilizing subdirectories on
  1689.                   their diskettes, KATLOOK gives the same results as entering
  1690.                   KATLOOK -P.
  1691.  
  1692.                   KATLOOK -P was inserted into the product during the
  1693.                   debugging phase of catching the individual file entry
  1694.                   elongated directory name at display time.  You'll recall
  1695.                   from the Overview subsection in the Introduction that the
  1696.                   database only carries a numeric code for the subdirectory
  1697.                   diskette location it belongs with in each database record.
  1698.                   However, this feature was left in the program, since some
  1699.                   users might want to take advantage of this option, and it
  1700.                   really causes no overhead to the program's performance to
  1701.                   leave it in.
  1702.  
  1703.      KAT -DP      See above discussion about KAT -D.  Otherwise, this is the
  1704.                   same as entering KATLOOK -P.
  1705.  
  1706.      KATLOOK -L   Inquire against the DBS-KAT database located in the current
  1707.                   directory.
  1708.  
  1709.  
  1710.  
  1711.  
  1712.  
  1713.  
  1714.  
  1715.  
  1716.  
  1717.  
  1718.      DBS-KAT USER MANUAL         Copyright 1986 R.H. Martin         P. 27
  1719.  
  1720.  
  1721.  
  1722.      KAT -LD      See above discussion about KAT -D.  Otherwise, this is the
  1723.                   same as entering KATLOOK -L.
  1724.  
  1725.  
  1726.                                THE INQUIRY PROCEDURE
  1727.  
  1728.      The inquiry program is menu driven and your choices for action are
  1729.      displayed as follows:
  1730.  
  1731.      -------------------------------------------------------------------------
  1732.      CHOOSE TYPE OF DIRECTORY DISPLAY DESIRED:
  1733.      1.  Process individual dir argument line.
  1734.      2.  Process all cataloged files for a given volume number.
  1735.      3.  Process all cataloged files for the entire database.
  1736.      4.  Listing of cataloged diskette volumes.
  1737.      5.  Listing of uncataloged diskette volumes.
  1738.      6.  Exit program.
  1739.                                     6
  1740.      Enter option number:          > <
  1741.      -----------------------------------------------------------------------
  1742.  
  1743.      Most of the prompts and activity occurring in the DBS-KAT inquiry
  1744.      procedure is self evident, based upon the user understanding the DBS-KAT
  1745.      cataloging process and being able to read the inquiry procedure displays
  1746.      and prompts.
  1747.  
  1748.      This documentation will cover the portions of this procedure which may
  1749.      not be completely self-evident.
  1750.  
  1751.      1.  If your DBS-KAT database was set up with a user password, you are
  1752.          asked for it in this program.  You must provide the user password in
  1753.          order to inquire against the DBS-KAT database.  When you type in your
  1754.          password, you will not see what you type in nor will your cursor
  1755.          move.  That is normal.  This way, your friend behind you won't see
  1756.          your password.
  1757.  
  1758.      2.  When you are displayed the filename heading information, you are
  1759.          given the following column headings:
  1760.  
  1761. VOL# FILENAME.EXT FLDATE FLTM --SIZE- --PATH-- NOTE/EXT-PATH LTSQGT LAST-UPDATE
  1762.  
  1763.          With the exception of "FILENAME.EXT" and "LTSQGT", the above column
  1764.          headings also appear in the previous section in "THE CATALOGING
  1765.          PROCEDURE" subsection.
  1766.  
  1767.          Two exception to being the same as THE CATALOG PROCEDURE heading are
  1768.          the "--PATH-- NOTE/EXT-PATH" headers.  These columns will show the
  1769.          actual diskette subdirectory (the first 22 characters) which the
  1770.          cataloged file sits in, if such is the case, rather than the volume
  1771.          heading Note/Ext-Path information.  Again, if the diskette file does
  1772.          not reside on the diskette in a subdirectory, the shown information
  1773.          derives from the volume label record.
  1774.  
  1775.  
  1776.  
  1777.  
  1778.  
  1779.  
  1780.  
  1781.  
  1782.  
  1783.  
  1784.      DBS-KAT USER MANUAL         Copyright 1986 R.H. Martin         P. 28
  1785.  
  1786.  
  1787.  
  1788.          LTSQGT represents five columns of information without a separating
  1789.          blank space between them.
  1790.  
  1791.          L   Location where the prior cataloging processing for this disk took
  1792.              place.
  1793.  
  1794.          T   Sequence type (eg, B=BACKUP, P=SOFTWARE PACKAGE).
  1795.  
  1796.          SQ  Sequence number (ie, 01-99).
  1797.  
  1798.          G   How many generations old is this filename in relationship to the
  1799.              most current file with this same FILENAME.EXT, which is
  1800.              generation 0.  Generation 9 would be for the 9th plus higher
  1801.              generations.  This information and that of the following adjacent
  1802.              field is not updated by the base DBS-KAT package.  An add-on
  1803.              software module program, which does the aging analysis, will
  1804.              update this field.
  1805.  
  1806.          T   Is the generation number for this FILENAME.EXT tied ("Y" or
  1807.              blank).
  1808.  
  1809.      3.  If you choose the directory display option number 1 (Process
  1810.          individual dir argument line) and ask to "Suppress console output",
  1811.          you can ask that the displayed output go either to the printer or to
  1812.          a file.  If you choose a file output, you are given the opportunity
  1813.          to use the filename, KATDIR.OUT, or you can create your own valid
  1814.          filename.  File-directed output will not contain the column headings.
  1815.          A DOS batch command file, KATSORT, is provided which will sort
  1816.          KATDIR.OUT in reverse chronological order.  You must exit this
  1817.          program and execute the procedure, KATSORT, at the DOS prompt level.
  1818.  
  1819.      4.  If you choose the directory display option number 1 (Process
  1820.          individual dir argument line), you might be a little unfamiliar with
  1821.          your search options.  The program at this point displays the
  1822.          following instructions:
  1823.  
  1824.             "For your search argument, you'll be asked for a string value and
  1825.             how to use this string in the search (exact compare, anchored
  1826.             substring compare, or un-anchored substring compare - E, A, U).
  1827.             You are not allowed to use the following characters: '*', '?',
  1828.             '+'.  Just pressing ENTER for a string value indicates no
  1829.             restriction."
  1830.  
  1831.          The DOS DIR command provides an anchored substring search capability.
  1832.          If you typed: DIR AUTO* and pressed ENTER, you would be doing an
  1833.          anchored substring compare.  Although DOS does not provide an un-
  1834.          anchored substring search, if it did, typying: DIR *TO* and pressing
  1835.          ENTER, would provide you with a list of filenames where floating
  1836.          anywhere in the filename portion are the two neighboring characters
  1837.          "TO".  This is an example of an un-anchored substring search.
  1838.  
  1839.  
  1840.  
  1841.  
  1842.  
  1843.  
  1844.  
  1845.  
  1846.  
  1847.  
  1848.  
  1849.  
  1850.      DBS-KAT USER MANUAL         Copyright 1986 R.H. Martin         P. 29
  1851.  
  1852.  
  1853.          Although, DBS-KAT provides an un-anchored substring compare, this
  1854.          type of search on the filename portion will cause every filename
  1855.          entry in your DBS-KAT database to be scanned, which can take awhile
  1856.          depending on the size of your DBS-KAT database.
  1857.  
  1858.          The TECHNICAL REFERENCE MANUAL overviews the structure of DBS-KAT's
  1859.          database design and provides an  elaborate example list representing
  1860.          a range of searchs ordered by a most efficient search argument to a
  1861.          least efficient search argument.
  1862.  
  1863.          However, don't be afraid to use the search strategy you need to
  1864.          accomplish the job you want done.  With a 12,000 record database,
  1865.          best case searches are a few seconds long and worst case searches are
  1866.          a few minutes long.
  1867.  
  1868.      5.  If you choose to provide a path argument search and to have it used
  1869.          against cataloged filenames, it is only used against the diskette
  1870.          volume label pathname, and not against an individual diskette file
  1871.          directory.
  1872.  
  1873.      6.  If you choose to only provide a path argument search (no filename/ext
  1874.          search argument), you'll be asked if you want the search to be only
  1875.          against cataloged volume header records rather than against cataloged
  1876.          filenames.  Choosing the volume header search will make your scan a
  1877.          whole lot faster.
  1878.  
  1879.      7.  Diskettes that are marked "SCRATCH" have that indication in the
  1880.          volume heading "extended path/note" field whereas in the accompanying
  1881.          "path" field, it is left blank.  Nevertheless, if you choose to
  1882.          provide a path argument search with the value "SCRATCH" or "scratch"
  1883.          and to have it used only against cataloged volume header records, you
  1884.          will be provided with a list of scratch diskettes.
  1885.  
  1886.  
  1887.  
  1888.  
  1889.  
  1890.  
  1891.  
  1892.  
  1893.  
  1894.  
  1895.  
  1896.  
  1897.  
  1898.  
  1899.  
  1900.  
  1901.  
  1902.  
  1903.  
  1904.  
  1905.  
  1906.  
  1907.  
  1908.  
  1909.  
  1910.  
  1911.  
  1912.  
  1913.  
  1914.  
  1915.  
  1916.      DBS-KAT USER MANUAL         Copyright 1986 R.H. Martin         P. 30
  1917.  
  1918.  
  1919.                            TAKING CARE OF  YOUR DATABASE
  1920.                            -----------------------------
  1921.  
  1922.                                      OVERVIEW
  1923.  
  1924.      This section covers the following activities:
  1925.  
  1926.         1.  Conservative Updating
  1927.         2.  Backup
  1928.         3.  The Log File
  1929.         4.  Integrity Analysis
  1930.  
  1931.      A related section on Recovery is included in the TECHNICAL REFERENCE
  1932.      MANUAL, because not every user will ever need it.  However, every user
  1933.      should be prepared for it by following the recommendations below.
  1934.  
  1935.  
  1936.                                CONSERVATIVE UPDATING
  1937.  
  1938.      Databases are delicate creatures.  Most programs which work with
  1939.      databases, assume that all the proper connections are made between the
  1940.      different records in a database.  Such programs, when they come across
  1941.      the first data record with its associated pointer addresses to another
  1942.      record failing to properly point, will abort.  Thus often a very large
  1943.      database is at the mercy of one bad pointer.  Pointers, like other
  1944.      portions of a disk file, can be disturbed by a variety of external
  1945.      hardware and software factors, many of which lie totally outside of the
  1946.      software which is specifically written for the database.
  1947.  
  1948.      Conservative practices are to frequently backup up the DBS-KAT database
  1949.      and to do a periodic integrity analysis of the database.  If you're doing
  1950.      a hundred or more diskettes in the beginning in a day, then maybe every
  1951.      33-50 diskettes, back up your DBS-KAT database.  If you're updating a few
  1952.      diskettes per day, then one or two days a week you should back up the
  1953.      DBS-KAT database.
  1954.  
  1955.  
  1956.                                       BACKUP
  1957.  
  1958.      You are advised to back up your database while inside the KAT -U (or any
  1959.      variation of the -U option) program.  Your database backup will be made
  1960.      according to the instructions you gave DBS-KAT in updating your system
  1961.      control record.  Most persons will want to take advantage of the default
  1962.      backup command which one is prompted with during the system control
  1963.      record add process.
  1964.  
  1965.      During the KAT -U program session, you can choose to backup your database
  1966.      at the beginning of each processing loop, or after you have processed the
  1967.      number of diskettes equal to the reminder interval count you provide DBS-
  1968.      KAT in your system control record update process.
  1969.  
  1970.      The existence and usefulness of your DBS-KAT log file is discussed
  1971.  
  1972.  
  1973.  
  1974.  
  1975.  
  1976.  
  1977.  
  1978.  
  1979.  
  1980.  
  1981.  
  1982.      DBS-KAT USER MANUAL         Copyright 1986 R.H. Martin         P. 31
  1983.  
  1984.  
  1985.      shortly, however it relevant to note now that DBS-KAT records in this log
  1986.      file when you made a backup of your database.  It also makes a record
  1987.      entry, including the volume number, of each updated diskette.
  1988.  
  1989.      For the above reason, it is a good idea to update DBS-KAT against the
  1990.      diskettes you just backed up your database onto, right after doing the
  1991.      backup and before processing any other diskettes.  This way, when you
  1992.      interrogate your DBS-KAT log file, those diskettes which immediately
  1993.      follow a backup record entry are the diskettes which contain your
  1994.      database.  This is useful, when looking for your couple-to-several
  1995.      generation old set of DBS-KAT database backup diskettes to reuse.  You
  1996.      can also use DBS-KAT's inquiry function to find out the same information,
  1997.      but some people may prefer one method over the other method.  The DBS-KAT
  1998.      log file's main purpose is for recovery and not for locating backup
  1999.      diskette.
  2000.  
  2001.      Despite DBS-KAT's ability to inform you of which diskette follows in a
  2002.      sequence, you'll still find it more convenient, if your DBS-KAT database
  2003.      backup span across neighboring numbered diskettes.  Thus when you
  2004.      initially number your diskettes, you might want to set aside 3-4
  2005.      neighboring sequence for backing up your DBS-KAT database.  It currently
  2006.      takes about 2.5 diskettes to backup a DBS-KAT database containing 13,400
  2007.      plus directory entries, which covers about 600 diskettes.  You should
  2008.      felt-tip label these diskettes, beside the normal 4 digit number, with
  2009.      information such as:
  2010.                                        0333
  2011.             KATDB.*  1 of 4
  2012.             See 0334-0336
  2013.             Verified: 850301/850501/850701
  2014.             850901
  2015.  
  2016.      The above label shows the following information:
  2017.  
  2018.         1.  The volume ID number for this diskette.
  2019.         2.  Information that the diskette contains a backup of the DBS-KAT
  2020.             database.
  2021.         3.  Information that this diskette is number 1 of a set of 4 backup
  2022.             diskettes.
  2023.         4.  The numerous different dates for which this database was a backup
  2024.             of a DBS-KAT database right after it had been okayed via a
  2025.             database integrity analysis run.  In this instance, the verify
  2026.             dates spill over onto line four of the label.
  2027.  
  2028.      In conjunction with using the DOS BACKUP command, one should periodically
  2029.      perform a CHKDSK /F.  In the April 23, 1985, issue of PC WEEK, a letter
  2030.      to the editor by a VP of SyntheSys Consulting Inc., Syracuse, NY,
  2031.      entitled "Fixing BACKUP Bugs," refers to "problems with the [BACKUP]
  2032.      program if CHKDSK detects any errors on the disk you are trying to back
  2033.      up.  The user should be sure to use CHKDSK to correct any problems with
  2034.      the hard disk before using BACKUP (i.e., use CHKDSK with the /F option)."
  2035.  
  2036.  
  2037.  
  2038.  
  2039.  
  2040.  
  2041.  
  2042.  
  2043.  
  2044.  
  2045.  
  2046.  
  2047.  
  2048.      DBS-KAT USER MANUAL         Copyright 1986 R.H. Martin         P. 32
  2049.  
  2050.  
  2051.  
  2052.                                    THE LOG FILE
  2053.  
  2054.      Each diskette that you process by DBS-KAT causes a record to be written
  2055.      to a plain ASCII-type file (useable by most word processors), called
  2056.      KATDB.LOG.  When you backup the DBS-KAT database is recorded here too.
  2057.      The information written about the diskette processed is in the following
  2058.      format (example data displayed beneath the format).  The format heading
  2059.      here does not appear in the file, KATDB.LOG, nor by the KATLOG printout.
  2060.  
  2061.        LN  LOC VOL# YYMMDD HHMM TOT-REC-COUNT
  2062.         1    H 0075 850503 1354 13035
  2063.         2    H B/U  850503 1355
  2064.         3    H 0174 850503 1400 13039
  2065.         4    H 0175 850503 1400 13043
  2066.         5    H 0176 850503 1401 13047
  2067.         6    H 0199 850503 1401 13099
  2068.  
  2069.      The main reason for this log file is in the unlikely event that something
  2070.      happens either to your hard disk or to your database and you need to do a
  2071.      recovery using an earlier backed up DBS-KAT database.  The exact
  2072.      procedures you'll follow are given in the TECHNICAL REFERENCE MANUAL.
  2073.  
  2074.      Another usage for the log file, if you want to use it in such a manner
  2075.      (as shown in the above example), was earlier discussed in the subsection,
  2076.      BACKUP.  The above example reflects the fact that after processing volume
  2077.      0075, the user backed his database over three diskettes, 0174-0176, after
  2078.      which he updated DBS-KAT with the directory information of diskettes
  2079.      0174-0199.
  2080.  
  2081.      A DOS batch procedure file, called KATLOG.BAT, is provided to aid you in
  2082.      inquiring against your DBS-KAT log file.  KATLOG can be invoked in a
  2083.      variety of ways.  You can enter the commands in upper or lower case, it
  2084.      makes no difference.  These commands are entered at the DOS prompt level.
  2085.  
  2086.      INVOKE CMD      COMMENT--------------------------------------------------
  2087.  
  2088.      KATLOG          Typing just this causes the entire log file to be
  2089.                      continuously printed, using the KPRINT program.  KPRINT
  2090.                      is explained in Appendix A.  Lines numbers are printed
  2091.                      for this option.
  2092.  
  2093.      KATLOG 35       Any number is allowed.  Typing this causes the last 35
  2094.                      lines of your log file to be displayed to your screen.
  2095.                      KATLOG uses your DOS program, MORE.COM, so be sure to
  2096.                      have it available (via your PATH) to be executed in the
  2097.                      directory from which you execute KATLOG.  With the MORE
  2098.                      program, if you ask for more than a screen worth, you'll
  2099.                      be shown a screen worth at a time.  Pressing any key
  2100.                      (except the CTRL-BREAK combination) will cause the next
  2101.                      page to be displayed to the screen.  Holding down the
  2102.                      CTRL key while pressing the BREAK key will abort KATLOG
  2103.  
  2104.  
  2105.  
  2106.  
  2107.  
  2108.  
  2109.  
  2110.  
  2111.  
  2112.  
  2113.  
  2114.      DBS-KAT USER MANUAL         Copyright 1986 R.H. Martin         P. 33
  2115.  
  2116.  
  2117.                      -- you'll be asked if you want to terminate the batch
  2118.                      procedure then.  If you answer "Y", the batch procedure
  2119.                      will immediately abort.
  2120.  
  2121.      KATLOG 35 PRN   Same as KATLOG 35, except output is printed, and the DOS
  2122.                      program, MORE.COM is not used.
  2123.  
  2124.  
  2125.                                 INTEGRITY ANALYSIS
  2126.  
  2127.      Every once in awhile (perhaps once a month), an integrity analysis should
  2128.      be done.  It really takes no work on your part, and doing it while you
  2129.      are out to eat is the easiest way to schedule it into your day.  More is
  2130.      said about doing an integrity analysis in a subsection below.
  2131.  
  2132.      There is nothing magic about the database integrity check program.  It is
  2133.      an option in the KATLOOK (or KAT -D option) program.  First, get inside
  2134.      to KATLOOK's menu choice.  Refer to the section, INQUIRING AGAINST THE
  2135.      DBS-KAT CATALOG, if you forget how to invoke KATLOOK.  To the following
  2136.      prompts, make the following responses:
  2137.  
  2138.      PROMPT------------------------   RESPONSE   COMMENT----------------------
  2139.  
  2140.      Enter option number:             3          "Process entire database"
  2141.                                                  option
  2142.  
  2143.      Suppress console output?         ENTER      Default is "N", the correct
  2144.                                                  choice
  2145.  
  2146.      Printout desired?                ENTER      Default is "N", the correct
  2147.                                                  choice
  2148.  
  2149.      Pause for each screen?           ENTER      Default is "N", the correct
  2150.                                                  choice
  2151.  
  2152.      KATLOOK will thereupon start from the beginning of your database and
  2153.      display every entry in your DBS-KAT database.  Every single record in
  2154.      every portion of your database will be retrieved.  This can take an hour
  2155.      and a half if using a COMPAQ PLUS with 12,500 directory entries and 580
  2156.      diskettes cataloged.  If you have an IBM AT, your response time will be
  2157.      better.
  2158.  
  2159.      A good time to do this, as earlier said, is during eating time.  When you
  2160.      come back to your machine then, you'll immediately know if any problem
  2161.      was encountered.  If the last two lines displayed show the last entry in
  2162.      your database followed by the successful database close message, then you
  2163.      have a clean database.
  2164.  
  2165.      At this point, you are advised to backup up your database and label it as
  2166.      a "VERIFIED" backup.  Do not recycle these backup diskettes until you
  2167.      have done at least another verified backup in the future using another
  2168.      set of diskettes.  Once you have done this backup, you no longer need the
  2169.  
  2170.  
  2171.  
  2172.  
  2173.  
  2174.  
  2175.  
  2176.  
  2177.  
  2178.  
  2179.  
  2180.      DBS-KAT USER MANUAL         Copyright 1986 R.H. Martin         P. 34
  2181.  
  2182.  
  2183.      current hard disk resident KATDB.LOG file.  Type: DEL KATDB.LOG and press
  2184.      ENTER.  Don't worry, immediately upon doing your next DBS-KAT process,
  2185.      KATDB.LOG will be recreated and start growing again.
  2186.  
  2187.  
  2188.                                TROUBLE SHOOTING TIPS
  2189.  
  2190.      If you are ever aborted from DBS-KAT during the cataloging program, or if
  2191.      the cataloging program processes less than the full number of filenames
  2192.      on a diskette, check the free space on the device holding the three work
  2193.      files, KATWORK.VOL, KATWORK1.DIR, KATWORK2.DIR.  Also, type out these
  2194.      three work files and see if the operating system issued any error
  2195.      messages.  If you see the message "Exec Failure," it may mean that your
  2196.      "FILES=" statement is either missing or understated in your CONFIG.SYS
  2197.      file.
  2198.  
  2199.  
  2200.  
  2201.  
  2202.  
  2203.  
  2204.  
  2205.  
  2206.  
  2207.  
  2208.  
  2209.  
  2210.  
  2211.  
  2212.  
  2213.  
  2214.  
  2215.  
  2216.  
  2217.  
  2218.  
  2219.  
  2220.  
  2221.  
  2222.  
  2223.  
  2224.  
  2225.  
  2226.  
  2227.  
  2228.  
  2229.  
  2230.  
  2231.  
  2232.  
  2233.  
  2234.  
  2235.  
  2236.  
  2237.  
  2238.  
  2239.  
  2240.  
  2241.  
  2242.  
  2243.  
  2244.  
  2245.  
  2246.      DBS-KAT USER MANUAL         Copyright 1986 R.H. Martin         P. 35
  2247.  
  2248.  
  2249.                                  ONLINE ASSISTANCE
  2250.  
  2251.      You already know about the online assistance that the command, KATBOOK,
  2252.      provides.  That is what you executed to print out this manual.  KATBOOK
  2253.      also prints out three other manuals: (1) INSTALLATION FOR NEW COMPUTER
  2254.      USERS, (2) TECHNICAL REFERENCE MANUAL and (3) THE DB-SHARE PROGRAM.
  2255.  
  2256.      Typing:   KAT    and pressing the ENTER key will display the commands you
  2257.      can type in to run the various functions of DBS-KAT.
  2258.  
  2259.      Typing:   KAT > PRN   and pressing the ENTER key will print out the above
  2260.      display.
  2261.  
  2262.      Typing:   KAT -O    and pressing the ENTER key will print out an order
  2263.      form, along with an explanation of registration benefits.
  2264.  
  2265.      Typing:   KAT -P    and pressing the ENTER key will print out a problem
  2266.      form which can be used for submitting problems and/or enhancement
  2267.      requests.
  2268.  
  2269.      Typing:   KPRINT   and pressing the ENTER key will display the features
  2270.      of the KPRINT programmer's print program.
  2271.  
  2272.      Typing:   KPRINT -?C>PRN   and pressing the ENTER key will print out the
  2273.      above display.
  2274.  
  2275.      Typing:   KPRINT -?K   and pressing the ENTER key will display how to
  2276.      interface your printer with the KPRINT program.
  2277.  
  2278.      Typing:   KPRINT -?KC>PRN   and pressing the ENTER key will print out the
  2279.      above display.
  2280.  
  2281.  
  2282.  
  2283.  
  2284.  
  2285.  
  2286.  
  2287.  
  2288.  
  2289.  
  2290.  
  2291.  
  2292.  
  2293.  
  2294.  
  2295.  
  2296.  
  2297.  
  2298.  
  2299.  
  2300.  
  2301.  
  2302.  
  2303.  
  2304.  
  2305.  
  2306.  
  2307.  
  2308.  
  2309.  
  2310.  
  2311.  
  2312.      DBS-KAT USER MANUAL         Copyright 1986 R.H. Martin         P. 36
  2313.  
  2314.  
  2315.                                     APPENDIX A:
  2316.                              ERRATA RE: KPRINT PROGRAM
  2317.  
  2318.      Note: for additional information about the KPRINT programmer's print
  2319.      program, refer to the preceeding section, "Online Assistance."
  2320.  
  2321.      Due to the Lattice C Compiler not supporting LPT2 and COM2, KPRINT will
  2322.      not work with either of these two ports.  Carl Warren in MINI-MICRO
  2323.      SYSTEMS, April 1985 (page 187), provides a way for your computer to think
  2324.      of LPT2 as LPT1 (and vice-versa) though.  A BASIC program, he provides,
  2325.      based upon printer port information discussed in the IBM Technical
  2326.      Reference Manual, pages 5-25, is used to swap printer port locations for
  2327.      the duration of a power-on session.  The program is reproduced below:
  2328.  
  2329.           05 REM DEFINE THE SEGMENT LOCATION
  2330.           10 DEF SEG = &H40
  2331.           15 REM FIND THE CONTENTS OF THE PORTS
  2332.           20 A = PEEK(&H8): B = PEEK(&H9)
  2333.           30 C = PEEK(&HA): D = PEEK(&HB)
  2334.           35 REM NOW SWAP THEM
  2335.           40 POKE &H8,C : POKE &H9,D
  2336.           50 POKE &HA,A : POKE &H8,B
  2337.           55 SYSTEM
  2338.  
  2339.      If this program was located in your root directory under the name,
  2340.      SWAPLPT.BAS, and you added the line, "BASICA \SWAPLPT", to your
  2341.      \AUTOEXEC.BAT file, this would be done for you automatically when you
  2342.      power on the computer.  If you need to use COM2, use the DOS MODE command
  2343.      to associate COM2 with your LPT1 port.  For both the LPT2 and COM2
  2344.      solution discussed here, your KPRINT.CTL file would use a "T P 1" line.
  2345.  
  2346.  
  2347.  
  2348.  
  2349.  
  2350.  
  2351.  
  2352.  
  2353.  
  2354.  
  2355.  
  2356.  
  2357.  
  2358.  
  2359.  
  2360.  
  2361.  
  2362.  
  2363.  
  2364.  
  2365.  
  2366.  
  2367.  
  2368.  
  2369.  
  2370.  
  2371.  
  2372.  
  2373.  
  2374.  
  2375.  
  2376.  
  2377.  
  2378.      DBS-KAT USER MANUAL         Copyright 1986 R.H. Martin         P. 37
  2379.  
  2380.  
  2381.                                     APPENDIX B:
  2382.                               PROVIDED DBS-KAT FILES
  2383.  
  2384.      The DBS-KAT distribution diskette contains these files:
  2385.  
  2386.      READ     ME    A short introductory note.  To be read first.
  2387.      MANUAL   OQT   The compressed DBS-KAT user manual.
  2388.      NOVICE   OQT   The compressed install manual for novice computer users.
  2389.      TECHREF  OQT   The compressed DBS-KAT Technical Reference Manual.
  2390.      DBSHARE  OQT   The compressed manual explaining DB-SHARE Software.
  2391.      KATBOOK  BAT   The DOS Batch process to print manual.  Type: KATBOOK.
  2392.      KATBOOK2 BAT   Used by KATBOOK to print manual.  Do not execute this.
  2393.      KAT      EXE   DBS-KAT program to update control record and catalog
  2394.                     diskette directory information into DBS-KAT database.
  2395.      KATLOOK  EXE   Program to allow inquiry against DBS-KAT database.
  2396.      KATDRIVE EXE   Program used by KAT.EXE to scan diskette directory.
  2397.      KPRINT   EXE   Multi-feature print program.  Made for programmers.
  2398.      KATLOG   BAT   This & KATSTRIP.BAT are used in maintaining & recovering
  2399.      KATSTRIP BAT   DBS-KAT.
  2400.      KATSORT  BAT   Batch file to sort cataloged filenames in reverse
  2401.                     chronological order.  Use KATLOOK to output a file first.
  2402.      KATORDER FRM   Type: KAT -O to print this DBS-KAT order form.
  2403.      KATBUG   FRM   Type: KAT -P to print this DBS-KAT problem report form.
  2404.      KATDB    DBD   The DBS-KAT database comprises this and the next 5 files.
  2405.      KATDB    DA1   " ".
  2406.      KATDB    DA2   " ".
  2407.      KATDB    DA3   " ".
  2408.      KATDB    KE1   " ".
  2409.      KATDB    KE2   " ".
  2410.      KATAD    BAT   This & KATAD.KP, if copied to hard disk, support printing
  2411.      KATAD    KP    the DBS-KAT announcement sheet. Type: KATAD & press ENTER.
  2412.      USQ      COM   This & SQ (both public domain programs by Bill Pearson)
  2413.                     allowed the DBS-KAT manual to be compressed/decompressed.
  2414.                     SQ.EXE and SQ.DOC files are not provided with DBS-KAT.
  2415.      VOLSER   COM   This is a device volume labeler program in the public
  2416.                     domain written by T. A. Davis.  Can be used by DBS-KAT.
  2417.  
  2418.  
  2419.  
  2420.  
  2421.  
  2422.  
  2423.  
  2424.  
  2425.  
  2426.  
  2427.  
  2428.  
  2429.  
  2430.  
  2431.  
  2432.  
  2433.  
  2434.  
  2435.  
  2436.  
  2437.  
  2438.  
  2439.  
  2440.  
  2441.  
  2442.  
  2443.  
  2444.      DBS-KAT USER MANUAL         Copyright 1986 R.H. Martin         P. 38
  2445.  
  2446.  
  2447.                                     APPENDIX C:
  2448.                  MINIMUM COMPUTER FILES NEEDED TO OPERATE DBS-KAT
  2449.  
  2450.      An installed DBS-KAT drive volume needs the following files on a drive
  2451.      formatted with the "/S" option.  Files marked with a "*" are your DOS
  2452.      operating system files.
  2453.  
  2454.      COMMAND  COM *
  2455.      AUTOEXEC BAT
  2456.      BACKUP   COM *
  2457.      CONFIG   SYS
  2458.      FORMAT   COM *
  2459.      KAT      EXE
  2460.      KATDB    DA1
  2461.      KATDB    DA2
  2462.      KATDB    DA3
  2463.      KATDB    DBD
  2464.      KATDB    KE1
  2465.      KATDB    KE2
  2466.      KATDRIVE EXE
  2467.      KATLOG   BAT
  2468.      KATLOOK  EXE
  2469.      KATSORT  BAT
  2470.      KPRINT   EXE
  2471.      MORE     COM *
  2472.      RESTORE  COM *
  2473.      SORT     EXE *
  2474.      VOLSER   COM
  2475.  
  2476.  
  2477.  
  2478.  
  2479.  
  2480.  
  2481.  
  2482.  
  2483.  
  2484.  
  2485.  
  2486.  
  2487.  
  2488.  
  2489.  
  2490.  
  2491.  
  2492.  
  2493.  
  2494.  
  2495.  
  2496.  
  2497.  
  2498.  
  2499.  
  2500.  
  2501.  
  2502.  
  2503.  
  2504.  
  2505.  
  2506.  
  2507.  
  2508.  
  2509.